package org.tlipoca.smsteamplayer.client;

import org.genntii.smcommon.result.Result;
import org.genntii.smdomain.entity.SteamUserStore;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

import java.util.ArrayList;

@FeignClient("sm-steamUserStore")
public interface SteamUserStoreClient {

    @GetMapping("/steam_user_store/{steamid}")
    Result<ArrayList<SteamUserStore>> getSteamUserStoreBySteamId(@PathVariable Long steamid);

}
